<!doctype html>
<html>
{include file="head.html"}

<body>
<div class="header" >
    <a class="left-btn pointer" href="{$appkoudai}?m=koudai_dz"><span class="iconfont icon-back"></span></a>
    <div class="title">用户已对账口袋详情</div>    
  </div>
  <div class="uclist">
  	<div class="item">
  		<div class="hd">{$addr.p_c_t}-{$addr.sushe}寝室 <span class="right">个人口袋</span></div>
  		<div class="row h25">{$addr.truename} <span class="right">{$addr.telephone}</span></div>
        <div class="hd">挂账商品</div>
        <table class="row table-bordered">
        	{foreach item=p from=$order_product}
            {if $p.gznum}
        	<tr>
            	<td class="pd-5" width="70">
                	<img src="{$p.imgurl|images_site}.100x100.jpg" width="50">
                </td>
                <td class="pd-5">
                	<div class="title">{$p.title}</div>
                    <div class="row h25">
                    	￥<span class="cor1">{$p.price}</span>
                        <span class="right"> x <span class="cor1">{$p.gznum}</span> &nbsp;</span>
                    </div>
                </td>
                 
            </tr>
            {/if}
            {/foreach}
        </table>
        <div class="row h25 center f16">
        	挂账<span class="cor1">{$gznum}</span>件 &nbsp;&nbsp; 合计<span class="cor1">{$gzmoney}</span>元
        </div>
        
        
         <div class="hd">退货商品</div>
        <table class="row table-bordered">
        	{foreach item=p from=$order_product}
            {if $p.thnum}
        	<tr>
            	<td class="pd-5" width="70">
                	<img src="{$p.imgurl|images_site}.100x100.jpg" width="50">
                </td>
                <td class="pd-5">
                	<div class="title">{$p.title}</div>
                    <div class="row h25">
                    	￥<span class="cor1">{$p.price}</span>
                        <span class="right"> x <span class="cor1">{$p.thnum}</span> &nbsp;</span>
                    </div>
                </td>
                 
            </tr>
            {/if}
            {/foreach}
        </table>
        <div class="row h25 center f16">
        	退货<span class="cor1">{$thnum}</span>件 &nbsp;&nbsp; 合计<span class="cor1">{$thmoney}</span>元
        </div>
        
        
        
         <div class="hd">结算商品</div>
        <table class="row table-bordered">
        	{foreach item=p from=$order_product}
            {if $p.jsnum}
        	<tr>
            	<td class="pd-5" width="70">
                	<img src="{$p.imgurl|images_site}.100x100.jpg" width="50">
                </td>
                <td class="pd-5">
                	<div class="title">{$p.title}</div>
                    <div class="row h25">
                    	￥<span class="cor1">{$p.price}</span>
                        <span class="right"> x <span class="cor1">{$p.jsnum}</span> &nbsp;</span>
                    </div>
                </td>
                 
            </tr>
            {/if}
            {/foreach}
        </table>
        <div class="row h25   f16">
        	结算<span class="cor1">{$jsnum}</span>件 &nbsp;&nbsp; 合计<span class="cor1">{$jsmoney}</span>元 
            <span class="right">{if $order.ispay eq 2}已支付{else}未支付{/if} &nbsp;</span>
        </div>
        {if $dz.status eq 3}
         <div class="row h30">
        	 退货到：&nbsp; <span>{if $dz.thshop eq 2}本栋夜猫店{else}口袋微仓{/if} </span>
         
        </div>
        {/if}
         {if $dz.status eq 1}
        <form method="post" action="{$appkoudai}?m=koudai_dz&a=confirm&id={$dz.id}">
        <div class="row h30">
        	 退货到：&nbsp; <span> <input type="radio" name="k" value="2">本栋夜猫店</span>
            <span>  <input type="radio" name="k" value="1">口袋微仓 </span>
        </div>
        
        <div class="center">
        		<button type="submit" class="btn  btn-warning">确认审核</button>
        </div>
        </form>
        {/if}
    </div>
  </div>
</body>
</html>
